package com.scedu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.net.ssl.SSLContext;

@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {
    private String mpAppId;
    private  String mpAppSecret;
    //private String miniAppId;
    //private String appAppId;
    private String mchId; //商户号
    private String mchKey; //商户秘钥
    private String keyPath; //证书路径
    private String notifyUrl;//回调地址
    //private SSLContext sslContext;
    //开放平台,  卖家扫码登录用
    private String openAppId;
    private String openAppSecret;
}
